        <!DOCTYPE html>
        <html>
        <head>
                <meta charset="utf-8">
        <title>TimeStep class / box2d Library / Dart Documentation</title>
        <link rel="stylesheet" type="text/css"
            href="../styles.css">
        <link href="http://fonts.googleapis.com/css?family=Open+Sans:400,600,700,800" rel="stylesheet" type="text/css">
        <link rel="shortcut icon" href="../favicon.ico">
        
        </head>
        <body data-library="box2d" data-type="TimeStep">
        <div class="page">
        <div class="header">
          <a href="../index.html"><div class="logo"></div></a>
          <a href="../index.html">Dart Documentation</a>
         &rsaquo; <a href="../box2d.html">box2d</a> &rsaquo; <a href="../box2d/TimeStep.html">TimeStep</a>        <div id="search-box">
          <input type="search" name="q" id="q" autocomplete="off"
              class="search-input" placeholder="Search API">
        </div>
        
      </div>
      <div class="drop-down" id="drop-down"></div>
      
        <div class="nav">
        
</div>
<div class="content">
        <h2><strong>TimeStep</strong>
          class
        </h2>
        
<button id="show-inherited" class="show-inherited">Hide inherited</button>
<div class="doc">
<pre class="source">
class TimeStep {
 TimeStep() :
   dt = 0,
   inv_dt = 0,
   dtRatio = 0,
   velocityIterations = 0,
   positionIterations = 0,
   warmStarting = true { }

 /** time step */
 num dt;

 /** inverse time step (0 if dt == 0). */
 num inv_dt;

 /** dt * inv_dt0 */
 num dtRatio;

 int velocityIterations;

 int positionIterations;

 bool warmStarting;
}
</pre>
</div>
<div>
<h3>Constructors</h3>
<div class="method"><h4 id="TimeStep">
<button class="show-code">Code</button>
new <strong>TimeStep</strong>() <a class="anchor-link" href="#TimeStep"
              title="Permalink to TimeStep.TimeStep">#</a></h4>
<div class="doc">
<pre class="source">
TimeStep() :
 dt = 0,
 inv_dt = 0,
 dtRatio = 0,
 velocityIterations = 0,
 positionIterations = 0,
 warmStarting = true { }
</pre>
</div>
</div>
</div>
<div>
<h3>Properties</h3>
<div class="field"><h4 id="dt">
<button class="show-code">Code</button>
num         <strong>dt</strong> <a class="anchor-link"
            href="#dt"
            title="Permalink to TimeStep.dt">#</a>
        </h4>
        <div class="doc">
<pre class="source">
dt
</pre>
</div>
</div>
<div class="field"><h4 id="dtRatio">
<button class="show-code">Code</button>
num         <strong>dtRatio</strong> <a class="anchor-link"
            href="#dtRatio"
            title="Permalink to TimeStep.dtRatio">#</a>
        </h4>
        <div class="doc">
<pre class="source">
dtRatio
</pre>
</div>
</div>
<div class="field"><h4 id="inv_dt">
<button class="show-code">Code</button>
num         <strong>inv_dt</strong> <a class="anchor-link"
            href="#inv_dt"
            title="Permalink to TimeStep.inv_dt">#</a>
        </h4>
        <div class="doc">
<pre class="source">
inv_dt
</pre>
</div>
</div>
<div class="field"><h4 id="positionIterations">
<button class="show-code">Code</button>
int         <strong>positionIterations</strong> <a class="anchor-link"
            href="#positionIterations"
            title="Permalink to TimeStep.positionIterations">#</a>
        </h4>
        <div class="doc">
<pre class="source">
positionIterations
</pre>
</div>
</div>
<div class="field"><h4 id="velocityIterations">
<button class="show-code">Code</button>
int         <strong>velocityIterations</strong> <a class="anchor-link"
            href="#velocityIterations"
            title="Permalink to TimeStep.velocityIterations">#</a>
        </h4>
        <div class="doc">
<pre class="source">
velocityIterations
</pre>
</div>
</div>
<div class="field"><h4 id="warmStarting">
<button class="show-code">Code</button>
bool         <strong>warmStarting</strong> <a class="anchor-link"
            href="#warmStarting"
            title="Permalink to TimeStep.warmStarting">#</a>
        </h4>
        <div class="doc">
<pre class="source">
warmStarting
</pre>
</div>
</div>
</div>
        </div>
        <div class="clear"></div>
        </div>
        <div class="footer">
          
        </div>
        <script async src="../client-live-nav.js"></script>
        </body></html>
        
